home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11tl.lha / lbl / hips / sources / vfft / vfft_fil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-21  |  2.0 KB  |  71 lines

  1. /*
  2. %    VFFT_FILTER . H
  3. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4.  
  5. This software is copyright (C) by the Lawrence Berkeley Laboratory.
  6. Permission is granted to reproduce this software for non-commercial
  7. purposes provided that this notice is left intact.
  8.  
  9. It is acknowledged that the U.S. Government has rights to this software
  10. under Contract DE-AC03-765F00098 between the U.S.  Department of Energy
  11. and the University of California.
  12.  
  13. This software is provided as a professional and academic contribution
  14. for joint exchange. Thus, it is experimental, and is provided ``as is'',
  15. with no warranties of any kind whatsoever, no support, no promise of
  16. updates, or printed documentation. By using this software, you
  17. acknowledge that the Lawrence Berkeley Laboratory and Regents of the
  18. University of California shall have no liability with respect to the
  19. infringement of other copyrights by any part of this software.
  20.  
  21. For further information about this notice, contact William Johnston,
  22. Bld. 50B, Rm. 2239, Lawrence Berkeley Laboratory, Berkeley, CA, 94720.
  23. (wejohnston@lbl.gov)
  24.  
  25. For further information about this software, contact:
  26.     Jin Guojun
  27.     Bld. 50B, Rm. 2275, Lawrence Berkeley Laboratory, Berkeley, CA, 94720.
  28.     g_jin@lbl.gov
  29.  
  30. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  31. %
  32. % AUTHOR:    Jin, Guojun - LBL    5/1/91
  33. */
  34.  
  35. #include <math.h>
  36. #include "header.def"
  37. #include "imagedef.h"
  38.  
  39. #define    CURVE_CONCAVE    0
  40. #define    CURVE_CONVEX    1
  41. #define    CURVE_LINEAR    2
  42.  
  43. #define    FUNC_ELASTIC    0
  44. #define    FUNC_IDEAL    1
  45. #define    FUNC_EXP    2
  46. #define    FUNC_BUTTERWORTH    3
  47. #define    FUNC_RIGHT_TRI_ANGLE    4
  48. #define    FUNC_STD_TABLE        5
  49. #define    FUNC_ASCII_TABLE    6
  50. #define    FUNC_BINARY_TABLE    7
  51.  
  52. #ifndef    Filter
  53. #define    Filter    float
  54. #endif
  55.  
  56. #ifndef    MaxSample
  57. #define    MaxSample    1024
  58. #endif
  59.  
  60. #define    lktFrm    2
  61. #define    lktRow    1
  62. #define    lktCol    0
  63.  
  64. #define    GValue(type)    avset(argc, argv, &j, &f, type)
  65.  
  66. #define    ibuf    uimg.src
  67. #define    obuf    uimg.dest
  68. #define    row    uimg.height
  69. #define    cln    uimg.width
  70. #define    frm    uimg.frames
  71.